//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.dict.comment.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.base.BaseEntry;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


import java.io.Serializable;
@ToString
@Data
@Getter
@Setter
public class EventWaring extends BaseEntry implements Serializable  {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private int id;
    @TableField("eventTypeId")
    private String eventTypeId;
    private String imgbase64;
    @TableField("deviceId")
    private String deviceId;
    private String time;
    @TableField("personImageId")
    private Integer personImageId;
    @TableField("dataSource")
    private Integer dataSource;
    @TableField("channelId")
    private String channelId;
    private Double score;
    private String rect;
    private Integer state;

    private String deviceName;
    private String eventName;
    private String startTime;
    private String endTime;
    @TableField("video_url")
    private String video_url;



    public EventWaring(String eventTypeId, String imgbase64, String deviceId, String time, Integer personImageId, Integer dataSource, String channelId, Double score, String rect, Integer label, String deviceName, String eventName) {
        this.eventTypeId = eventTypeId;
        this.imgbase64 = imgbase64;
        this.deviceId = deviceId;
        this.time = time;
        this.personImageId = personImageId;
        this.dataSource = dataSource;
        this.channelId = channelId;
        this.score = score;
        this.rect = rect;
        this.state = label;
        this.deviceName = deviceName;
        this.eventName = eventName;
    }

    public EventWaring(int id) {
        this.id = id;
    }

    public EventWaring() {
    }

    public EventWaring(Integer label) {
        this.state = label;
    }

    public EventWaring(String eventTypeId, String imgbase64, String deviceId, String time, Integer personImageId, Integer dataSource, String channelId, Double score, String rect) {
        this.eventTypeId = eventTypeId;
        this.imgbase64 = imgbase64;
        this.deviceId = deviceId;
        this.time = time;
        this.personImageId = personImageId;
        this.dataSource = dataSource;
        this.channelId = channelId;
        this.score = score;
        this.rect = rect;
    }

    public EventWaring(String eventTypeId, String imgbase64, String deviceId, String time, Integer personImageId, Integer dataSource, String channelId, Double score, String rect, Integer label) {
        this.eventTypeId = eventTypeId;
        this.imgbase64 = imgbase64;
        this.deviceId = deviceId;
        this.time = time;
        this.personImageId = personImageId;
        this.dataSource = dataSource;
        this.channelId = channelId;
        this.score = score;
        this.rect = rect;
        this.state = label;
    }

    public String getEventTypeId() {
        return this.eventTypeId;
    }

    public String getImgbase64() {
        return this.imgbase64;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public String getTime() {
        return this.time;
    }

    public Integer getPersonImageId() {
        return this.personImageId;
    }

    public Integer getDataSource() {
        return this.dataSource;
    }

    public String getChannelId() {
        return this.channelId;
    }

    public Double getScore() {
        return this.score;
    }

    public String getRect() {
        return this.rect;
    }

    public Integer getLabel() {
        return this.state;
    }

    public EventWaring setEventTypeId(String eventTypeId) {
        this.eventTypeId = eventTypeId;
        return this;
    }

    public EventWaring setImgbase64(String imgbase64) {
        this.imgbase64 = imgbase64;
        return this;
    }

    public EventWaring setDeviceId(String deviceId) {
        this.deviceId = deviceId;
        return this;
    }

    public EventWaring setTime(String time) {
        this.time = time;
        return this;
    }

    public EventWaring setPersonImageId(Integer personImageId) {
        this.personImageId = personImageId;
        return this;
    }

    public EventWaring setDataSource(Integer dataSource) {
        this.dataSource = dataSource;
        return this;
    }

    public EventWaring setChannelId(String channelId) {
        this.channelId = channelId;
        return this;
    }

    public EventWaring setScore(Double score) {
        this.score = score;
        return this;
    }

    public EventWaring setRect(String rect) {
        this.rect = rect;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String toString() {
        return "EventWaring(eventTypeId=" + this.getEventTypeId() + ", imgbase64=" + this.getImgbase64() + ", deviceId=" + this.getDeviceId() + ", time=" + this.getTime() + ", personImageId=" + this.getPersonImageId() + ", dataSource=" + this.getDataSource() + ", channelId=" + this.getChannelId() + ", score=" + this.getScore() + ", rect=" + this.getRect() + ", label=" + this.getLabel() + ")";
    }


}
